package com.yulong.web.mapper;

import com.yulong.model.pojo.UmsMenu;
import com.yulong.model.pojo.UmsResource;
import com.yulong.model.pojo.UmsRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UmsRoleMapper {

    int insertRole(UmsRole role);
    int delete(List<Long> ids);
    int updateRole(UmsRole role);
    UmsRole queryById(Integer id);
    List<UmsRole> selectAll();
    List<UmsRole> queryByName(String name);
    List<UmsMenu> getlistMenu(Long id);
    List<UmsResource> listResource(Long id);

}
